﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace T.FAS.Runtime.Metadata.Entity.Page
{
    /// <summary>
    /// 界面扩展属性
    /// </summary>
    [DataContract]
    [Serializable]
    public class PageExtProperty: ICloneable
    {
        /// <summary>
        /// 主键
        /// </summary>
        [DataMember]
        public string ID { get; set; }
        /// <summary>
        /// PageID
        /// </summary>
        public string PageID { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int PropertyOrder { get; set; }
        /// <summary>
        /// 标识
        /// </summary>
        [DataMember]
        public string Code { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [DataMember]
        public string Name { get; set; }
        /// <summary>
        /// 属性值
        /// </summary>
        [DataMember]
        public string PropValue { get; set; }

        /// <summary>
        /// 值类型
        /// </summary>
        [DataMember]
        public PropertyValueType ValueType { get; set; }

        public object Clone()
        {
            return this.MemberwiseClone();
        }
    }
}
